/*
 * @Author: suxunying
 * @desc: 
 * @Date: 2021-07-26 09:17:41
 * @LastEditors: suxunying
 * @LastEditTime: 2021-07-26 10:08:33
 * @FilePath: \bmp-poc\plat\src\main.ts
 */
import Vue from 'vue'
import { registerMicroApps, start } from 'qiankun';
import App from './App.vue'
import router from './router'
import store from './store'
import shared from './shared';

registerMicroApps([
  {
    name: 'micro', // app name registered
    entry: '//localhost:8888',
    container: '#nav',
    activeRule: '/micro',
    props: {
        shared,
    }
  },
]);

start();

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
